package com.ruoyi.system.domain.request.reportstatistics;

import com.alibaba.fastjson2.JSONArray;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Accessors(chain = true)
@ToString
public class Trajectory {
    //所属公司
    @Excel(name = "所属公司")
    private String companyName;
    //车牌号
    @Excel(name = "设备名称")
    private String numberPlate;
    //设备编号
    @Excel(name = "设备号")
    private String dvo;
    //定位时间
    @Excel(name = "定位时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;
    //当前速度
    @Excel(name = "当前速度(km/h)")
    private Integer speed;
    //轨迹卫星定位数
    @Excel(name = "卫星数")
    private Integer satelliteCount;
    //当前位置
    @Excel(name = "当前位置",width = 50)
    private String location;
    //公司简称
    private String companyShortName;
    //经纬度
    @Excel(name = "经度")
    private Double lng;
    @Excel(name = "纬度")
    private Double lat;
    //信号强度（百分比）
//    @Excel(name = "信号强度")
    private Integer signalIntensity;

    // 以下为北三字段
    //发送方id
    private Long sendId;
    //接收方id
    private Long receiveId;
    //定位状态
    private String locationState;
    //短报文类型
    private String shortMsgType;
    //短报文内容
    private String shortMsg;
    //传感器数组
    private JSONArray sensorList = new JSONArray();
    //高程
    @Excel(name = "高程")
    private Integer hgt;

}
